projects
/
project
/
bcm63xx
/
u-boot.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2ab4c74
)
at91: 9x5: Enable PMECC for 5series ek board.
author
Wu, Josh
<
[email protected]
>
Thu, 23 Aug 2012 00:05:38 +0000
(
00:05
+0000)
committer
Albert ARIBAUD
<
[email protected]
>
Sat, 1 Sep 2012 15:06:15 +0000
(17:06 +0200)
Signed-off-by: Josh Wu <
[email protected]
>
Signed-off-by: Andreas Bießmann <
[email protected]
>
include/configs/at91sam9x5ek.h
patch
|
blob
|
history
diff --git
a/include/configs/at91sam9x5ek.h
b/include/configs/at91sam9x5ek.h
index 5cae6bd70d02e823d7db4a4c054f88df7ba9b016..1ceb31a0f4e1b4695f0f391bbfc95dc4e89a3d08 100644
(file)
--- a/
include/configs/at91sam9x5ek.h
+++ b/
include/configs/at91sam9x5ek.h
@@
-120,6
+120,13
@@
#define CONFIG_SYS_NAND_ENABLE_PIN AT91_PIN_PD4
#define CONFIG_SYS_NAND_READY_PIN AT91_PIN_PD5
+/* PMECC & PMERRLOC */
+#define CONFIG_ATMEL_NAND_HWECC 1
+#define CONFIG_ATMEL_NAND_HW_PMECC 1
+#define CONFIG_PMECC_CAP 2
+#define CONFIG_PMECC_SECTOR_SIZE 512
+#define CONFIG_PMECC_INDEX_TABLE_OFFSET 0x8000
+
#define CONFIG_MTD_DEVICE
#define CONFIG_CMD_MTDPARTS
#define CONFIG_MTD_PARTITIONS